/**
 * @author www.Philippe.COVAL.free.fr
 * Copyright and License : http://rzr.online.fr/license.htm
 **/

#ifndef Config_java_in_
#define Config_java_in_


#ifndef VERSION
#define VERSION "1.0.0"
#endif

#if (( defined MIDP_2_0 ) || ( defined NOKIA ))
#define WANT_INFO
#endif

#ifdef MIDP_1_0
#define WANT_NO_INFO
#define WANT_NO_TUX
#endif

//------------------------------------------------------------------------------

#ifdef ANDROID
package fr.online.rzr;

import android.graphics.*;
import android.view.*;
import android.content.*;
import android.util.Log.*;

# define Graphics Canvas
//# define Canvas View
// #define setColor drawColor

# define HAVE_DISPLAY_NO
# define HAVE_IMAGE_NO
# define WANT_INFO
# define WANT_DARK
# define WANT_TRACE

//# define DIET3D_SCREEN_WIDTH 512 // n770:       800, 480
# define DIET3D_SCREEN_WIDTH 320 //emu=320x430
# define DIET3D_SCREEN_HEIGHT DIET3D_SCREEN_WIDTH 
#endif // ANDROID


#ifdef JRE
import java.lang.*;
import java.lang.reflect.*; //not in midp2.0fcs
#endif

#ifdef AWT
import java.awt.*;
# define HAVE_DISPLAY_NO
#endif

#ifdef EXEN
import exen.*; //in-fusio.com
#define HAVE_SYSTEM_NO
#endif

#ifndef EXEN
import java.util.*;
#define HAVE_SYSTEM_NO
#endif


#ifdef NTTDOCOMO
import com.nttdocomo.ui.Graphics;
import com.nttdocomo.ui.*;
#define HAVE_SYSTEM_NO
#endif

#ifdef MIDP_1_0
import javax.microedition.lcdui.Graphics; 
import javax.microedition.lcdui.*; 
import javax.microedition.midlet.*;
#endif

#ifdef MIDP_2_0
import javax.microedition.lcdui.Graphics; 
import javax.microedition.lcdui.*; 
import javax.microedition.midlet.*;
import javax.microedition.lcdui.game.*;
#define HAVE_SYSTEM_NO
#endif

#ifdef NOKIA
import javax.microedition.lcdui.Graphics; 
import javax.microedition.lcdui.*; 
import javax.microedition.midlet.*;
import com.nokia.mid.ui.*;
#define HAVE_SYSTEM_NO
#endif

// default values
#ifndef DIET3D_SCREEN_WIDTH
# define DIET3D_SCREEN_WIDTH 128 //160?
#endif

#endif //Config_java_in_
//eof
